Enable posting formality check comments and warn if 'Allow edits and
access to secrets by maintainers' is not checked.
Signed-off-by: George Sapkin <[email protected]>
name: Test Formalities
on:
- pull_request:
+ pull_request_target:
permissions:
contents: read
uses: openwrt/actions-shared-workflows/.github/workflows/formal.yml@main
with:
exclude_weblate: true
- # # Post formality check summaries to the PR.
- # # Repo's permissions need to be updated for actions to modify PRs:
- # # https://docs.github.com/en/rest/issues/comments?apiVersion=2022-11-28#create-an-issue-comment
- # post_comment: true
- # warn_on_no_modify: true
+ post_comment: true
+ warn_on_no_modify: true